package com.wish.financial;

import com.wish.common.security.annotation.EnableCustomConfig;
import com.wish.common.security.annotation.EnableRyFeignClients;
import com.wish.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringCloudApplication
@ComponentScan(basePackages = {"com.wish.base","com.wish.financial"})
public class WishFinancialApplication {

    public static void main(String[] args) {
        SpringApplication.run(WishFinancialApplication.class, args);
    }

}
